﻿using WebAppIdentity.Request;
using WebAppIdentity.Response;

namespace WebAppIdentity.Services
{
	public interface IUserService
	{
		Task<TokenResult> RegisterAsync(string username, string password, string address);
		Task<TokenResult> LoginAsync(string username, string password);
		Task<TokenResult> RefreshTokenAsync(string token, string refreshToken);
		Task<BaseResponse> ModifyPassword(ModifyPasswordRequest modifyPasswordRequest,string? token);
	}
}
